<?php
  include("parser_class.php");
  $LogParser=new AmiroLogParser("E:/logs/20110728 Memory Leak color RF/BigLogFromUser/cur_log_2347.txt","2011-08-02 22:46:26","2011-08-02 23:46:26");
  
  // Getting file path of file we are parsing
  $LogFileName=$LogParser->GetFilePath();
  $TimeBorders=$LogParser->str_time_borders; // Show time segment for user
  
  // Geting each row of this file wraped in div, and also to each string add Indengs as like as it's a source code
  // to make it more readable
  $HtmlRawLines=$LogParser->GetLinesInDiv();
  
  // Show CSV that will be exported to the file
  $CSVoutput=$LogParser->GetCSV_String();
  
  //Saving CSV
  $csv_f_name="E:/logs/20110728 Memory Leak color RF/BigLogFromUser/seeking_peak.csv";
  $CSVans=$LogParser->SaveCSV_file($csv_f_name);
  $CSVsave_str="<h3>$csv_f_name was succesfully saved<h3><br>";
  if(!$CSVans) $CSVsave_str="<h3>Cannot save $csv_f_name</h3>";
  
  
?>
